import { Observable } from 'rxjs'
const observable = new Observable((observer) => {
  setTimeout(() => {
    observer.next({
      name: "张三"
    })
  }, 2000)
})

observable.subscribe((value) => {
  console.log(value)
})
